package com.easyaop.test.core.around.one;

import com.easyaop.test.core.around.JoinPoint;

public abstract class Around {
    abstract Object invoke(Object[] args);

    abstract Object invoke();

    Object around(Object the, Object[] args, JoinPoint joinPoint) {
        System.out.println("before" + the);
        Object result = invoke(args);
        System.out.println("after" + args);
        return result;
    }

}
